package com.project.pojo;

import org.jspecify.annotations.Nullable;
import org.springframework.beans.factory.FactoryBean;

public class PersonFactoryBean implements FactoryBean<Person> {

    @Override
    public @Nullable Person getObject() throws Exception {
        return new Person();
    }

    @Override
    public @Nullable Class<?> getObjectType() {
        return null;
    }

    @Override
    public boolean isSingleton() {
        return true;
    }
}
